	<?php 
	use_helper('javascript');
	use_helper('form');?>
	<div class="cTitle"><?php echo $cTitle; ?> :: 
	<?php echo link_to1('产品列表','product/index');?>  |  
	<?php echo link_to1('添加新产品','product/create');?>  |  
	<?php echo link_to1('首页推荐','product/index?flag=1');?>  |  	
	<?php echo link_to1('产品搜索','product/search');?>	
	</div>
	<div id="content">
	<form action="<?php echo url_for('product/soo') ?>" name="cp" id="cp" method="POST">
    <table class="cList" width="90%" cellspacing="1" cellpadding="2" >
	<tr>
	<td>名称</td>
	<td><?php echo input_tag('title')?></td>
	</tr>
	<tr>
	<td>类别
	</td>
	<td>大类：<?php echo select_tag('bclass',options_for_select($bClass));?>
		小类：<?php echo select_tag('category');?>
		<?php echo observe_field('bclass', array(
	    'update'   => 'category',
	    'url'      => url_for('category/ajaxsub'),
	    'with'     => "'fid=' + value",));
	    ?>
	    必须选到小类别才能使用小类别查询功能
	</td>
	</tr>
	<tr>
	<td>产地</td>
	<td><?php echo input_tag('city')?></td>
	</tr>
	<tr>
	<td>货号</td>
	<td><?php echo input_tag('lot_no')?></td>
	</tr>
    <tr>
		<td class="cSecond" colspan="2"> 
		<?php if($err):?><div class="error"><?php echo $err;?></div><?php endif;?>
		<input name="searchf" id="searchf" type="submit" value="搜索" /></td>
    </tr>
    </table>
    </form>
	</div>
